package ssm.interceptor;

import java.util.Properties;

import org.apache.ibatis.executor.statement.StatementHandler;
import org.apache.ibatis.plugin.Interceptor;
import org.apache.ibatis.plugin.Intercepts;
import org.apache.ibatis.plugin.Invocation;
import org.apache.ibatis.plugin.Signature;

import com.mysql.jdbc.Connection;

/*
 *王钢旗
 *2017年4月17日
 */
@Intercepts(@Signature(type=StatementHandler.class,method="getPage",args=(Connection.class)))
public class PageInterceptor implements Interceptor {

	public Object intercept(Invocation arg0) throws Throwable {
		// TODO Auto-generated method stub
		return null;
	}

	public Object plugin(Object arg0) {
		// TODO Auto-generated method stub
		return null;
	}

	public void setProperties(Properties arg0) {
		// TODO Auto-generated method stub

	}

}
